table.insert(itemActions,
	function(item, action)
		-- KEYS
		local priority = 5 -- pick priority

		if not isKey(item) then 
			return false
		elseif action == aPICK then
			return priority
		end

		return false
	end
)

function isKey(item)
	return (
			item.baseItem.code == "pk1" or
			item.baseItem.code == "pk2" or
			item.baseItem.code == "pk3"
			)
end